package com.ruoyi.system.domain.module.event;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 维保合同列对象 event_maintenance_contract
 *
 * @author ruoyi
 * @date 2023-12-26
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("event_maintenance_contract")
public class EventMaintenanceContract implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 维保企业id
     */
    private Integer maintenanceId;

    /**
     * 合同id
     */
    private String contractName;

	/**
	 * 合约开始时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(fill = FieldFill.INSERT)
	private Date serviceBeginTime;

	/**
	 * 合约结束时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(fill = FieldFill.INSERT)
	private Date serviceEndTime;


	/**
     * 添加时间
     */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 添加人
     */
    private String createBy;

	@TableField(exist = false)
	private List<String> dateRange;

}
